<template>
    <div class="skeleton-article">
        <div class="a-title">
            <h1 class="skeleton-block"></h1>
        </div>
        <div class="a-author">
            <div class="a-left">
                <div class="l-avatar skeleton-block">
                </div>
                <div class="l-name skeleton-block">
                </div>
            </div>
            <div class="a-right">
                <div class="r-focus skeleton-block">
                </div>
            </div>
        </div>
        <div class="a-article">
            <p class="skeleton-block"></p>
            <p class="skeleton-block"></p>
            <p class="skeleton-block"></p>
            <p class="skeleton-block"></p>
            <p class="skeleton-block"></p>
            <p class="skeleton-block"></p>
        </div>
    </div>
</template>

<style lang="less">
    .skeleton-article {
        min-height: calc(100vh - 100px);
        background: white;

        .a-title {
            padding: 20px 30px;

            h1 {
                height: 100px;

            }
        }

        .a-author {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 150px;
            padding: 0 30px;

            .a-left {
                display: flex;
                align-items: center;

                .l-avatar {
                    width: 78px;
                    height: 78px;
                    border-radius: 39px;
                    overflow: hidden;

                }

                .l-name {
                    margin-left: 20px;
                    width: 100px;
                    height: 50px;

                }
            }

            .a-right {
                display: flex;
                align-items: center;

                .r-focus {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 150px;
                    height: 64px;
                    box-sizing: border-box;
                }
            }
        }

        .a-article {
            padding: 0 30px;

            p {
                width: 100%;
                height: 50px;


                &:not(:first-child) {
                    margin-top: 30px;
                }
            }
        }
    }
</style>